package com.aizhixin.lab.project.course.entity;

import com.aizhixin.lab.common.entity.AbstractStringIdAndCreatedDateEntity;
import lombok.Getter;
import lombok.Setter;
import org.springframework.cache.annotation.Cacheable;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.util.Date;

@Entity(name="c_exercises_stu_answer")
@Cacheable
public class ExercisesStuAnswer extends AbstractStringIdAndCreatedDateEntity{


	@Column(name = "group_task_id")
	@Getter @Setter
	private String groupTaskId;
	/**
	 * 发布任务题目id
	 */
	@Column(name = "exercises_id")
	@Getter @Setter
	private String exercisesId;
	/**
	 * 学生id
	 */
	@Column(name = "stu_id")
	@Getter @Setter
	private Long stuId;
	/**
	 * 学生名称
	 */
	@Column(name = "stu_name")
	@Getter @Setter
	private String stuName;
	/**
	 * 学生答案
	 */
	@Column(name = "stu_answer")
	@Getter @Setter
	private String stuAnswer;
	/**
	 * 批语
	 */
	@Column(name = "comment")
	@Getter @Setter
	private String comment;
	/**
	 * 批阅时间
	 */
	@Column(name = "batch_time")
	@Getter @Setter
	private Date batchTime;
	/**
	 * 是否正确
	 */
	@Column(name="is_correct")
	@Getter@Setter
	private Integer isCorrect;
	/**
	 * 错误类型
	 */
	@Column(name="error_type")
	@Getter@Setter
	private Integer errorType;
    /**
     * 编程运行结果
     */
	@Column(name="run_result")
	@Getter@Setter
	private String runResult;
    /**
     * 运行代码
     */
	@Column(name="run_code")
	@Getter@Setter
	private String runCode;
	/**
	 * 語言
	 */
	@Column(name="language")
	@Getter@Setter
	private String language;
	
	
}
